package com.dou.mapper;

import com.dou.pojo.login;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.Collection;
import java.util.List;

/**
 * Created with IntelliJ IDEA 2021.1 x64
 *
 * @Author: 窦义超
 * @Date: 2021/07/2021/7/21/18:51
 * @Description:
 */
@Mapper
public interface LoginDao {
    public login getPwdByName(String username);
    public login getPwdById(int userid);
    public List<login> getAllpwd();
    public void updateById(login login);
    public void insertLogin(login login);
}
